package com.young.msg.model;

import com.young.common.model.BaseDO;

import java.util.Date;

/**
 * 站内信主体实体类
 * Created by wangjiyu on 2021-10-31.
 */
public class SiteLetter extends BaseDO {

    /**
     * 主键
     */
    private Long id;
    /**
     * 标题
     */
    private String title;
    /**
     * 内容
     */
    private String content;
    /**
     * 发件人id
     */
    private String sender;
    /**
     * 发件人名称
     */
    private String senderName;
    /**
     * 发件人类型
     */
    private Integer senderType;
    /**
     * 收信人id
     */
    private String receiver;
    /**
     * 收信人类型
     */
    private Integer receiverType;
    /**
     * 状态
     */
    private Integer state;
    /**
     * 业务标
     */
    private String businessTag;
    /**
     * 发送时间
     */
    private Date sendTime;
    /**
     * 发送时间,按时间检索时作为结束时间使用
     */
    private Date sendTime2;


    public SiteLetter() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getSender() {
        return sender;
    }

    public void setSender(String sender) {
        this.sender = sender;
    }

    public String getSenderName() {
        return senderName;
    }

    public void setSenderName(String senderName) {
        this.senderName = senderName;
    }

    public Integer getSenderType() {
        return senderType;
    }

    public void setSenderType(Integer senderType) {
        this.senderType = senderType;
    }

    public String getReceiver() {
        return receiver;
    }

    public void setReceiver(String receiver) {
        this.receiver = receiver;
    }

    public Integer getReceiverType() {
        return receiverType;
    }

    public void setReceiverType(Integer receiverType) {
        this.receiverType = receiverType;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getBusinessTag() {
        return businessTag;
    }

    public void setBusinessTag(String businessTag) {
        this.businessTag = businessTag;
    }

    public Date getSendTime() {
        return sendTime;
    }

    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }

    public Date getSendTime2() {
        return sendTime2;
    }

    public void setSendTime2(Date sendTime2) {
        this.sendTime2 = sendTime2;
    }


}